package com.example.entity.retail;

import com.example.entity.user.User;

public class LikeRetail {
    private String like_uid;//用户uid
    private User retail_user;// 点赞的种农圈用户
    private PostRetail postRetail;// 被点赞的种农圈帖子
    private CommentRetail commentRetail;// 被点赞的种农圈评论
    private boolean isliked;// 是否点赞

    public String getLike_uid() {
        return like_uid;
    }

    public void setLike_uid(String like_uid) {
        this.like_uid = like_uid;
    }

    public User getRetail_user() {
        return retail_user;
    }

    public void setRetail_user(User retail_user) {
        this.retail_user = retail_user;
    }

    public PostRetail getPostRetail() {
        return postRetail;
    }

    public void setPostRetail(PostRetail postRetail) {
        this.postRetail = postRetail;
    }

    public CommentRetail getCommentRetail() {
        return commentRetail;
    }

    public void setCommentRetail(CommentRetail commentRetail) {
        this.commentRetail = commentRetail;
    }

    public boolean isIsliked() {
        return isliked;
    }

    public void setIsliked(boolean isliked) {
        this.isliked = isliked;
    }

    @Override
    public String toString() {
        return "LikeRetail{" +
                "like_uid='" + like_uid + '\'' +
                ", retail_user=" + retail_user +
                ", postRetail=" + postRetail +
                ", commentRetail=" + commentRetail +
                ", isliked=" + isliked +
                '}';
    }
}
